# near model CODE resource # jump table entries: 6712-6716 (5 of them) 00000000 4E56 FFD6 link A6, -0x002A 00000004 48E7 0708 movem.l -[A7], D5,D6,D7,A4 00000008 286E 0008 movea.l A4, [A6 + 0x8] 0000000C 426E 000C clr.w [A6 + 0xC] 00000010 42A7 clr.l -[A7] 00000012 70FC moveq.l D0, 0xFFFFFFFC 00000014 2F00 move.l -[A7], D0 00000016 4EAD 19BA jsr [A5 + 0x19BA /* export_819 */] 0000001A 2A1F move.l D5, [A7]+ 0000001C 70FD moveq.l D0, 0xFFFFFFFD 0000001E B085 cmp.l D0, D5 00000020 57C0 seq D0 00000022 72FE moveq.l D1, 0xFFFFFFFE 00000024 B285 cmp.l D1, D5 00000026 57C1 seq D1 00000028 8001 or.b D0, D1 0000002A 6702 beq +0x4 /* 0000002E */ 0000002C 605C bra +0x5E /* 0000008A */ label0000002E: 0000002E 3E2C 0006 move.w D7, [A4 + 0x6] label00000032: 00000032 302C 0004 move.w D0, [A4 + 0x4] 00000036 5A40 addq.w D0, 5 00000038 3F00 move.w -[A7], D0 0000003A 3007 move.w D0, D7 0000003C 5A40 addq.w D0, 5 0000003E 3F00 move.w -[A7], D0 00000040 4EAD 047A jsr [A5 + 0x47A /* export_139 */] 00000044 3F3C 0004 move.w -[A7], 0x4 00000048 4EAD 0482 jsr [A5 + 0x482 /* export_140 */] 0000004C 2D5F FFFC move.l [A6 - 0x4], [A7]+ 00000050 4267 clr.w -[A7] 00000052 2F2D F4CE move.l -[A7], [A5 - 0xB32] 00000056 2F14 move.l -[A7], [A4] 00000058 2F2E FFFC move.l -[A7], [A6 - 0x4] 0000005C 486E FFD6 pea.l [A6 - 0x2A] 00000060 4EBA 01D6 jsr [PC + 0x1D6 /* 00000238 */] 00000064 3C1F move.w D6, [A7]+ 00000066 6722 beq +0x24 /* 0000008A */ 00000068 206D F4CE movea.l A0, [A5 - 0xB32] 0000006C 3006 move.w D0, D6 0000006E E940 asl D0.w, 4 00000070 41E8 023F lea.l A0, [A0 + 0x23F] 00000074 4A30 0000 tst.b [A0 + D0.w] 00000078 6608 bne +0xA /* 00000082 */ 0000007A 5347 subq.w D7, 1 0000007C BE6C 0004 cmp.w D7, [A4 + 0x4] 00000080 6CB0 bge -0x4E /* 00000032 */ label00000082: 00000082 3006 move.w D0, D6 00000084 5B40 subq.w D0, 5 00000086 3D40 000C move.w [A6 + 0xC], D0 label0000008A: 0000008A 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+ 0000008E 4E5E unlink A6 00000090 2E9F move.l [A7], [A7]+ 00000092 4E75 rts fn00000094: 00000094 4E56 FFD8 link A6, -0x0028 00000098 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4 0000009C 3A2E 0008 move.w D5, [A6 + 0x8] 000000A0 42A7 clr.l -[A7] 000000A2 3F05 move.w -[A7], D5 000000A4 4EAD 152A jsr [A5 + 0x152A /* export_673 */] 000000A8 2E1F move.l D7, [A7]+ 000000AA 2047 movea.l A0, D7 000000AC 4A68 0014 tst.w [A0 + 0x14] 000000B0 6C20 bge +0x22 /* 000000D2 */ 000000B2 42A7 clr.l -[A7] 000000B4 3F05 move.w -[A7], D5 000000B6 1F3C 0001 move.b -[A7], 0x1 000000BA 4267 clr.w -[A7] 000000BC 4EAD 1AB2 jsr [A5 + 0x1AB2 /* export_850 */] 000000C0 285F movea.l A4, [A7]+ 000000C2 2047 movea.l A0, D7 000000C4 0828 0001 0007 btst.b [A0 + 0x7], 0x1 000000CA 665E bne +0x60 /* 0000012A */ 000000CC 7000 moveq.l D0, 0x00 000000CE 2840 movea.l A4, D0 000000D0 6058 bra +0x5A /* 0000012A */ label000000D2: 000000D2 42A7 clr.l -[A7] 000000D4 3F05 move.w -[A7], D5 000000D6 42A7 clr.l -[A7] 000000D8 4EAD 1AB2 jsr [A5 + 0x1AB2 /* export_850 */] 000000DC 265F movea.l A3, [A7]+ 000000DE 200B move.l D0, A3 000000E0 6606 bne +0x8 /* 000000E8 */ 000000E2 7000 moveq.l D0, 0x00 000000E4 2840 movea.l A4, D0 000000E6 6042 bra +0x44 /* 0000012A */ label000000E8: 000000E8 42A7 clr.l -[A7] 000000EA A8D8 syscall NewRgn 000000EC 285F movea.l A4, [A7]+ 000000EE 2F0B move.l -[A7], A3 000000F0 205F movea.l A0, [A7]+ 000000F2 A029 syscall HLock 000000F4 2047 movea.l A0, D7 000000F6 43EE FFE4 lea.l A1, [A6 - 0x1C] 000000FA 41E8 0010 lea.l A0, [A0 + 0x10] 000000FE 22D8 move.l [A1]+, [A0]+ 00000100 22D8 move.l [A1]+, [A0]+ 00000102 22D8 move.l [A1]+, [A0]+ 00000104 3290 move.w [A1], [A0] 00000106 2D53 FFE4 move.l [A6 - 0x1C], [A3] 0000010A 4267 clr.w -[A7] 0000010C 2F0C move.l -[A7], A4 0000010E 486E FFE4 pea.l [A6 - 0x1C] 00000112 4EAD 038A jsr [A5 + 0x38A /* export_109 */] 00000116 3C1F move.w D6, [A7]+ 00000118 2F0B move.l -[A7], A3 0000011A 205F movea.l A0, [A7]+ 0000011C A02A syscall HUnlock 0000011E 4A46 tst.w D6 00000120 6708 beq +0xA /* 0000012A */ 00000122 2F0C move.l -[A7], A4 00000124 A8D9 syscall DisposRgn/DisposeRgn 00000126 7000 moveq.l D0, 0x00 00000128 2840 movea.l A4, D0 label0000012A: 0000012A 200C move.l D0, A4 0000012C 6740 beq +0x42 /* 0000016E */ 0000012E 206D F4CE movea.l A0, [A5 - 0xB32] 00000132 302E 000A move.w D0, [A6 + 0xA] 00000136 E740 asl D0.w, 3 00000138 43EE FFF8 lea.l A1, [A6 - 0x8] 0000013C 45E8 03EE lea.l A2, [A0 + 0x3EE] 00000140 41F2 0000 lea.l A0, [A2 + D0.w] 00000144 22D8 move.l [A1]+, [A0]+ 00000146 22D8 move.l [A1]+, [A0]+ 00000148 2054 movea.l A0, [A4] 0000014A 5488 addq.l A0, 2 0000014C 2D48 FFD8 move.l [A6 - 0x28], A0 00000150 2F0C move.l -[A7], A4 00000152 206E FFD8 movea.l A0, [A6 - 0x28] 00000156 302E FFFA move.w D0, [A6 - 0x6] 0000015A 9068 0002 sub.w D0, [A0 + 0x2] 0000015E 3F00 move.w -[A7], D0 00000160 206E FFD8 movea.l A0, [A6 - 0x28] 00000164 302E FFF8 move.w D0, [A6 - 0x8] 00000168 9050 sub.w D0, [A0] 0000016A 3F00 move.w -[A7], D0 0000016C A8E0 syscall OffsetRgn/OfsetRgn label0000016E: 0000016E 2D4C 000C move.l [A6 + 0xC], A4 00000172 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+ 00000176 4E5E unlink A6 00000178 2E9F move.l [A7], [A7]+ 0000017A 4E75 rts fn0000017C: 0000017C 4E56 0000 link A6, 0 00000180 4AAE 0008 tst.l [A6 + 0x8] 00000184 56C0 sne D0 00000186 4A00 tst.b D0 00000188 6726 beq +0x28 /* 000001B0 */ 0000018A 2F00 move.l -[A7], D0 0000018C 42A7 clr.l -[A7] 0000018E 3F2E 000C move.w -[A7], [A6 + 0xC] 00000192 4EAD 152A jsr [A5 + 0x152A /* export_673 */] 00000196 221F move.l D1, [A7]+ 00000198 201F move.l D0, [A7]+ 0000019A 2041 movea.l A0, D1 0000019C 2228 0008 move.l D1, [A0 + 0x8] 000001A0 B2AE 0008 cmp.l D1, [A6 + 0x8] 000001A4 56C1 sne D1 000001A6 C001 and.b D0, D1 000001A8 6706 beq +0x8 /* 000001B0 */ 000001AA 2F2E 0008 move.l -[A7], [A6 + 0x8] 000001AE A8D9 syscall DisposRgn/DisposeRgn label000001B0: 000001B0 4E5E unlink A6 000001B2 205F movea.l A0, [A7]+ 000001B4 5C4F addq.w A7, 6 000001B6 4ED0 jmp [A0] fn000001B8: 000001B8 4E56 FFC8 link A6, -0x0038 000001BC 48E7 0118 movem.l -[A7], D7,A3,A4 000001C0 3E2E 0012 move.w D7, [A6 + 0x12] 000001C4 422E 0016 clr.b [A6 + 0x16] 000001C8 4267 clr.w -[A7] 000001CA 3F07 move.w -[A7], D7 000001CC 4EAD 1572 jsr [A5 + 0x1572 /* export_682 */] 000001D0 101F move.b D0, [A7]+ 000001D2 6756 beq +0x58 /* 0000022A */ 000001D4 42A7 clr.l -[A7] 000001D6 3F07 move.w -[A7], D7 000001D8 4EAD 152A jsr [A5 + 0x152A /* export_673 */] 000001DC 285F movea.l A4, [A7]+ 000001DE 7001 moveq.l D0, 0x01 000001E0 B02C 0006 cmp.b D0, [A4 + 0x6] 000001E4 6644 bne +0x46 /* 0000022A */ 000001E6 4267 clr.w -[A7] 000001E8 3F07 move.w -[A7], D7 000001EA 4EAD 1C02 jsr [A5 + 0x1C02 /* export_892 */] 000001EE 101F move.b D0, [A7]+ 000001F0 6602 bne +0x4 /* 000001F4 */ 000001F2 6036 bra +0x38 /* 0000022A */ label000001F4: 000001F4 7008 moveq.l D0, 0x08 000001F6 B06E 0010 cmp.w D0, [A6 + 0x10] 000001FA 662E bne +0x30 /* 0000022A */ 000001FC 42A7 clr.l -[A7] 000001FE 3F2E 0014 move.w -[A7], [A6 + 0x14] 00000202 3F07 move.w -[A7], D7 00000204 4EBA FE8E jsr [PC - 0x172 /* 00000094 */] 00000208 265F movea.l A3, [A7]+ 0000020A 200B move.l D0, A3 0000020C 671C beq +0x1E /* 0000022A */ 0000020E 4267 clr.w -[A7] 00000210 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000214 2F0B move.l -[A7], A3 00000216 A8E8 syscall PtInRgn 00000218 101F move.b D0, [A7]+ 0000021A 0A00 0001 xori.b D0, 0x1 0000021E 1D40 0016 move.b [A6 + 0x16], D0 00000222 3F07 move.w -[A7], D7 00000224 2F0B move.l -[A7], A3 00000226 4EBA FF54 jsr [PC - 0xAC /* 0000017C */] label0000022A: 0000022A 4CDF 1880 movem.l D7,A3,A4, [A7]+ 0000022E 4E5E unlink A6 00000230 205F movea.l A0, [A7]+ 00000232 DEFC 000E add.w A7, 0xE 00000236 4ED0 jmp [A0] fn00000238: 00000238 4E56 FFE0 link A6, -0x0020 0000023C 48E7 0118 movem.l -[A7], D7,A3,A4 00000240 266E 0014 movea.l A3, [A6 + 0x14] 00000244 206E 0008 movea.l A0, [A6 + 0x8] 00000248 20AE 0010 move.l [A0], [A6 + 0x10] 0000024C 206E 0008 movea.l A0, [A6 + 0x8] 00000250 317C FFFF 0004 move.w [A0 + 0x4], 0xFFFF 00000256 206E 0008 movea.l A0, [A6 + 0x8] 0000025A 317C FFFF 0006 move.w [A0 + 0x6], 0xFFFF 00000260 206E 0008 movea.l A0, [A6 + 0x8] 00000264 7000 moveq.l D0, 0x00 00000266 2140 000C move.l [A0 + 0xC], D0 0000026A 206E 0008 movea.l A0, [A6 + 0x8] 0000026E 7000 moveq.l D0, 0x00 00000270 2140 0010 move.l [A0 + 0x10], D0 00000274 7E1D moveq.l D7, 0x1D 00000276 6000 00EE bra +0xF0 /* 00000366 */ label0000027A: 0000027A 3007 move.w D0, D7 0000027C 6B18 bmi +0x1A /* 00000296 */ 0000027E B07C 001F cmp.w D0, 0x1F 00000282 6E12 bgt +0x14 /* 00000296 */ 00000284 41EE 0010 lea.l A0, [A6 + 0x10] 00000288 3200 move.w D1, D0 0000028A E649 lsr D1.w, 3 0000028C 4441 neg.w D1 0000028E 0130 10FF btst [A0 + D1.w - 0x1], D0 00000292 0A3C 0004 xori.b ccr, 4 label00000296: 00000296 6600 00CC bne +0xCE /* 00000364 */ 0000029A 4267 clr.w -[A7] 0000029C 2F2E 0010 move.l -[A7], [A6 + 0x10] 000002A0 3007 move.w D0, D7 000002A2 E740 asl D0.w, 3 000002A4 41EB 03EE lea.l A0, [A3 + 0x3EE] 000002A8 4870 0000 pea.l [A0 + D0.w] 000002AC A8AD syscall PtInRect 000002AE 101F move.b D0, [A7]+ 000002B0 6700 00B2 beq +0xB4 /* 00000364 */ 000002B4 3007 move.w D0, D7 000002B6 E940 asl D0.w, 4 000002B8 41EB 023E lea.l A0, [A3 + 0x23E] 000002BC 49F0 0000 lea.l A4, [A0 + D0.w] 000002C0 7001 moveq.l D0, 0x01 000002C2 B02C 0001 cmp.b D0, [A4 + 0x1] 000002C6 6628 bne +0x2A /* 000002F0 */ 000002C8 4267 clr.w -[A7] 000002CA 3F07 move.w -[A7], D7 000002CC 3F2C 0006 move.w -[A7], [A4 + 0x6] 000002D0 7000 moveq.l D0, 0x00 000002D2 102C 0005 move.b D0, [A4 + 0x5] 000002D6 C0BC 0000 003F and.l D0, 0x3F /* '?' */ 000002DC 3F00 move.w -[A7], D0 000002DE 2F2C 0008 move.l -[A7], [A4 + 0x8] 000002E2 2F2E 0010 move.l -[A7], [A6 + 0x10] 000002E6 4EBA FED0 jsr [PC - 0x130 /* 000001B8 */] 000002EA 101F move.b D0, [A7]+ 000002EC 6702 beq +0x4 /* 000002F0 */ 000002EE 6074 bra +0x76 /* 00000364 */ label000002F0: 000002F0 4267 clr.w -[A7] 000002F2 102C 0001 move.b D0, [A4 + 0x1] 000002F6 4880 ext.w D0 000002F8 3F00 move.w -[A7], D0 000002FA 4EAD 151A jsr [A5 + 0x151A /* export_671 */] 000002FE 101F move.b D0, [A7]+ 00000300 6754 beq +0x56 /* 00000356 */ 00000302 4267 clr.w -[A7] 00000304 3F2C 0006 move.w -[A7], [A4 + 0x6] 00000308 4EAD 1572 jsr [A5 + 0x1572 /* export_682 */] 0000030C 101F move.b D0, [A7]+ 0000030E 6746 beq +0x48 /* 00000356 */ 00000310 202B 077C move.l D0, [A3 + 0x77C] 00000314 7200 moveq.l D1, 0x00 00000316 B081 cmp.l D0, D1 00000318 6732 beq +0x34 /* 0000034C */ 0000031A 3007 move.w D0, D7 0000031C 6B18 bmi +0x1A /* 00000336 */ 0000031E B07C 001F cmp.w D0, 0x1F 00000322 6E12 bgt +0x14 /* 00000336 */ 00000324 41EB 0780 lea.l A0, [A3 + 0x780] 00000328 3200 move.w D1, D0 0000032A E649 lsr D1.w, 3 0000032C 4441 neg.w D1 0000032E 0130 10FF btst [A0 + D1.w - 0x1], D0 00000332 0A3C 0004 xori.b ccr, 4 label00000336: 00000336 6614 bne +0x16 /* 0000034C */ 00000338 3F07 move.w -[A7], D7 0000033A 3F3C 0011 move.w -[A7], 0x11 0000033E 2F2E 0008 move.l -[A7], [A6 + 0x8] 00000342 2F0B move.l -[A7], A3 00000344 486E FFE0 pea.l [A6 - 0x20] 00000348 4EAD 172A jsr [A5 + 0x172A /* export_737 */] label0000034C: 0000034C 206E 0008 movea.l A0, [A6 + 0x8] 00000350 316C 0006 0006 move.w [A0 + 0x6], [A4 + 0x6] label00000356: 00000356 206E 0008 movea.l A0, [A6 + 0x8] 0000035A 3147 0004 move.w [A0 + 0x4], D7 0000035E 3D47 0018 move.w [A6 + 0x18], D7 00000362 600E bra +0x10 /* 00000372 */ label00000364: 00000364 5347 subq.w D7, 1 label00000366: 00000366 7006 moveq.l D0, 0x06 00000368 B047 cmp.w D0, D7 0000036A 6F00 FF0E ble -0xF0 /* 0000027A */ 0000036E 426E 0018 clr.w [A6 + 0x18] label00000372: 00000372 4CDF 1880 movem.l D7,A3,A4, [A7]+ 00000376 4E5E unlink A6 00000378 205F movea.l A0, [A7]+ 0000037A DEFC 0010 add.w A7, 0x10 0000037E 4ED0 jmp [A0] 00000380 4E56 0000 link A6, 0 00000384 4E5E unlink A6 00000386 4E75 rts